package com.xydtech.ecard.config.domain;

import com.xydtech.common.annotation.Excel;
import com.xydtech.common.core.domain.BaseEntity;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;

/**
 * 海报配置对象 ecard_poster_configure
 * 
 * @author xydtech
 * @date 2022-12-05
 */
public class EcardPosterConfigure extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 主键ID */
    private Long id;

    /** 海报标题 */
    @Excel(name = "海报标题")
    private String title;

    /** 海报图片 */
    @Excel(name = "海报图片")
    private String posterImg;

    /** 海报属性(字典表ecard_poster_attribute) */
    @Excel(name = "海报属性(字典表ecard_poster_attribute)")
    private String attribute;

    /** 海报类目(字典表ecard_poster_type) */
    @Excel(name = "海报类目(字典表ecard_poster_type)")
    private String posterType;

    /** 是否编辑(字典表ecard_poster_edit_sts) */
    @Excel(name = "是否编辑(字典表ecard_poster_edit_sts)")
    private String editSts;

    /** 海报说明 */
    @Excel(name = "海报说明")
    private String details;

    /** 法人机构id */
    @Excel(name = "法人机构id")
    private Long deptId;

    /** 创建人id */
    @Excel(name = "创建人id")
    private Long userId;

    /** 状态(字典表ecard_poster_sts) */
    @Excel(name = "状态(字典表ecard_poster_sts)")
    private String sts;

    @Excel(name = "创建人姓名")
    private String userName;

    public void setId(Long id) 
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }
    public void setTitle(String title) 
    {
        this.title = title;
    }

    public String getTitle() 
    {
        return title;
    }
    public void setPosterImg(String posterImg) 
    {
        this.posterImg = posterImg;
    }

    public String getPosterImg() 
    {
        return posterImg;
    }
    public void setAttribute(String attribute) 
    {
        this.attribute = attribute;
    }

    public String getAttribute() 
    {
        return attribute;
    }
    public void setPosterType(String posterType) 
    {
        this.posterType = posterType;
    }

    public String getPosterType() 
    {
        return posterType;
    }
    public void setEditSts(String editSts) 
    {
        this.editSts = editSts;
    }

    public String getEditSts() 
    {
        return editSts;
    }
    public void setDetails(String details) 
    {
        this.details = details;
    }

    public String getDetails() 
    {
        return details;
    }
    public void setDeptId(Long deptId) 
    {
        this.deptId = deptId;
    }

    public Long getDeptId() 
    {
        return deptId;
    }
    public void setUserId(Long userId) 
    {
        this.userId = userId;
    }

    public Long getUserId() 
    {
        return userId;
    }
    public void setSts(String sts) 
    {
        this.sts = sts;
    }

    public String getSts() 
    {
        return sts;
    }

    public String getUserName() {
        return userName;
    }

    public void setUserName(String userName) {
        this.userName = userName;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this, ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("title", getTitle())
            .append("posterImg", getPosterImg())
            .append("attribute", getAttribute())
            .append("posterType", getPosterType())
            .append("editSts", getEditSts())
            .append("details", getDetails())
            .append("deptId", getDeptId())
            .append("createTime", getCreateTime())
            .append("userId", getUserId())
            .append("sts", getSts())
            .append("userName", getUserName())
            .toString();
    }
}
